#ifndef SERVERSCORECARD_H
#define SERVERSCORECARD_H

#include "Engine.h"
#include "InputSet.h"
#include <OgreEntity.h>
#include <vector>
#include <iostream>
#include <string>

#define SCMSGSIZE 4

//a class that displays score
class ServerScoreCard{
public:
	ServerScoreCard(NetworkHandler *toSend, int target);
	void updateState();
	void alertToInput( const InputSet& input );
	virtual void draw( Engine* game );
	void setScore(int newScore);
	void addScore(int toAdd);
	int getScore(){return score;}
protected:
	int score;
	bool scoreAltered;
	//used to send state information from the server
	NetworkHandler *handler;
	int tgt;
	char buffer[SCMSGSIZE];
};
#endif
